package com.lamer.console.base.mapper;

import com.lamer.console.base.entity.RoleMenuRelation;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author 黄诗鹏
 * @since 2021-11-11
 */
public interface RoleMenuRelationMapper extends BaseMapper<RoleMenuRelation> {

    int insertBatch(@Param("roleId") int roleId, @Param("menuIds") List<Integer> menuIds);

}
